
/** 商品 */

// 添加商品
const ADD_GOODS = 'ADD_GOODS'
// 减少商品
const REDUCE_GOODS = 'REDUCE_GOODS'
// 选中单个商品
const SINGLE_SELECT_GOODS = 'SINGLE_SELECT_GOODS'
// 全选商品
const ALL_SELECT_GOODS = 'ALL_SELECT_GOODS'
// 删除选中的商品
const DELETE_SELECT_GOODS = 'DELETE_SELECT_GOODS'
// 选中的商品
const SELECTED_GOODS = 'SELECTED_GOODS'
// 删除所有商品
const DELETE_ALL_GOODS = 'DELETE_ALL_GOODS'
// 选中商品的数量
const SELECTED_GOODS_COUNT = 'SELECTED_GOODS_COUNT'
// 选中商品的价格
const SELECTED_GOODS_PRICE = 'SELECTED_GOODS_PRICE'

/** 用户 */

// 用户信息
const USER_INFO = 'USER_INFO'
// 初始化用户数据
const INIT_USER_INFO = 'INIT_USER_INFO'
// 用户生日
const USER_INFO_BRITHDAY = 'USER_INFO_BRITHDAY'
// 用户性别
const USER_INFO_SEX = 'USER_INFO_SEX'
// 性别
const USER_SEX = 'USER_SEX'
// 修改用户昵称
const CHANGE_USER_NICK_NAME = 'CHANGE_USER_NICK_NAME'
// 退出登录
const LOGIN_OUT = 'LOGIN_OUT'

// 初始化购物车数据
const INIT_SHOP_CART = 'INIT_SHOP_CART'

/** 地址 */
// 15.初始化用户收货地址
const INIT_USER_SHOPPING_ADDRESS = 'INIT_USER_SHOPPING_ADDRESS'
// 16.增加用户收货地址
const ADD_USER_SHOPPING_ADDRESS = 'ADD_USER_SHOPPING_ADDRESS'
// 17.删除用户收货地址
const DELETE_USER_SHOPPING_ADDRESS = 'DELETE_USER_SHOPPING_ADDRESS'
// 18.修改用户收货地址
const CHANGE_USER_SHOPPING_ADDRESS = 'CHANGE_USER_SHOPPING_ADDRESS'

export {
  // 商品
  ADD_GOODS,
  REDUCE_GOODS,
  SINGLE_SELECT_GOODS,
  ALL_SELECT_GOODS,
  DELETE_SELECT_GOODS,
  SELECTED_GOODS,
  DELETE_ALL_GOODS,
  SELECTED_GOODS_COUNT,
  SELECTED_GOODS_PRICE,
  // 用户
  USER_INFO,
  INIT_USER_INFO,
  USER_INFO_BRITHDAY,
  USER_INFO_SEX ,
  USER_SEX,
  CHANGE_USER_NICK_NAME,
  LOGIN_OUT,
  // 购物车
  INIT_SHOP_CART,
  // 地址
  INIT_USER_SHOPPING_ADDRESS,
  ADD_USER_SHOPPING_ADDRESS,
  DELETE_USER_SHOPPING_ADDRESS,
  CHANGE_USER_SHOPPING_ADDRESS
}
